Optimal Priority Assignments in P-FRP

نویسندگان

  • Chaitanya Belwal
  • Albert M.K. Cheng
چکیده

Priority-based Functional Reactive Programming (P-FRP) has been recently introduced as a new functional programming formalism for real-time systems. P-FRP allows static priority assignment and guarantees real-time response by preempting lower priority tasks. Due to the state-less nature of functional programs, preempted tasks in P-FRP are aborted and restarted after the higher priority tasks have completed execution. In the classical preemptive model † of real-time systems, it has been demonstrated that for fixed priority scheduling, if tasks are schedulable with any priority assignment, they are also schedulable by the rate-monotonic (RM) priority assignment, making this priority assignment optimal for all task sets in the preemptive model. However, the RM priority assignment is not optimal in P-FRP, and it has been unknown if an optimal fixed priority assignment can even exist for such an execution model. In this paper, we formally present the priority assignment characteristics of P-FRP and show that based on task periods, either a combined utilization and rate-monotonic, or only the ratemonotonic priority assignments is optimal for a system with two tasks. Using this result, we formally prove the limitation of optimal priority assignments in a P-FRP system having more than two tasks where, unless arrival periods are integer multiples of each other, no single priority assignment exists which is optimal for all task sets. Experimental results using task sets of different sizes are also presented. † In this paper the classical preemptive model refers to a real-time system in which tasks can be preempted by higher priority tasks and can resume execution from the point they were preempted * This work is supported in part by U.S. National Science Foundation under Award no. 0720856

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Determining Actual Response Time in P-FRP

A purely functional model of computation, called Priority-based Functional Reactive Programming (P-FRP), has been introduced as a new paradigm for building real-time software. Unlike the classical preemptive model of real-time systems, preempted events in P-FRP are aborted and have to restart when higher priority events have completed, making the response time of events dependent on the executi...

متن کامل

Towards optimal priority assignments for real-time tasks with probabilistic arrivals and execution times

In this paper we present the problem of optimal priority assignments in fixed priority preemptive single processor systems where tasks have probabilistic arrivals and execution times. We show that Rate Monotic is not optimal for our problem.

متن کامل

Timing Analysis of the Priority based FRP System

Kaiabachev, Taha, Zhu [1] have presented a declarative programming paradigm called Functional Reactive Programming, which is based on behaviors and events. An improved system called PFRP uses fixed priority scheduling for tasks. The system allows for the currently executing lower priority tasks to be rolled back to restoring the original state and allowing a higher priority task to run. These a...

متن کامل

Efficient Optimal Priority Assignment for Fixed Priority Preemption Threshold Scheduling

This paper proposes an efficient priority assignment algorithm for fixed priority preemption threshold scheduling (PTS), which we named FAST-TRAVERSE. It is optimal in the sense that it always finds a feasible priority assignment if one exists. While there are existing optimal algorithms, they are inefficient to be used in practice. The key ideas of FAST-TRAVERSE are to prune sibling traverses ...

متن کامل

Sequential Pseudomarkets and the Weak Core in Random Assignments

We study random assignment economies with expectedutility agents, each of them eventually obtaining a single object. The assignment should respect object-invariant priorities such as seniority rights in student residence assignment, grandfather rights in landing slot assignment... We introduce the new Sequential Pseudomarket (SP) mechanism, where the set of agents is partitioned into ordered pr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011